gtk4.git
22 years agoUse case-insensitive comparison. Fixes XIM module loading on AIX.
Matthias Clasen [Mon, 1 Mar 2004 23:45:04 +0000 (23:45 +0000)]
Use case-insensitive comparison. Fixes XIM module loading on AIX.

Tue Mar  2 00:47:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkimmodule.c (match_locale): Use case-insensitive
comparison. Fixes XIM module loading on AIX.  (#131277)

22 years agoMake it work correctly when the child model is cleared completely.
Matthias Clasen [Mon, 1 Mar 2004 23:34:08 +0000 (23:34 +0000)]
Make it work correctly when the child model is cleared completely.

Mon Mar  1 23:59:18 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted):
Make it work correctly when the child model is cleared
completely. (#121633)

22 years agoremoved accidentially committed char which broke the build.
Michael Natterer [Mon, 1 Mar 2004 22:06:04 +0000 (22:06 +0000)]
removed accidentially committed char which broke the build.

2004-03-01  Michael Natterer  <mitch@gimp.org>

* gtk/gtkfilechooserwidget.h: removed accidentially committed char
which broke the build.

22 years agoonly store the size if we can resize in that direction.
Jonathan Blandford [Mon, 1 Mar 2004 21:52:04 +0000 (21:52 +0000)]
only store the size if we can resize in that direction.

Mon Mar  1 16:51:21 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserdialog.c
        (file_chooser_widget_default_size_changed): only store the size if
        we can resize in that direction.

22 years agonew function. Long name.
Jonathan Blandford [Mon, 1 Mar 2004 21:35:25 +0000 (21:35 +0000)]
new function. Long name.

Mon Mar  1 16:32:52 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserwidget.c
        (gtk_file_chooser_widget_new_with_backend): new function.  Long
        name.

22 years agoUpdated Swedish translation.
Christian Rose [Mon, 1 Mar 2004 21:21:20 +0000 (21:21 +0000)]
Updated Swedish translation.

2004-03-01  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoOnly stat when needed.
Morten Welinder [Mon, 1 Mar 2004 20:07:26 +0000 (20:07 +0000)]
Only stat when needed.

2004-03-01  Morten Welinder  <terra@gnome.org>

* gtk/gtkfilesystemunix.c (filename_get_info): Only stat when
needed.

22 years agoSimplify semantics and check for errors.
Morten Welinder [Mon, 1 Mar 2004 19:48:28 +0000 (19:48 +0000)]
Simplify semantics and check for errors.

2004-03-01  Morten Welinder  <terra@gnome.org>

* gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify
semantics and check for errors.

* gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors.

* gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if
display_name is NULL.

22 years agoBased on patch by Alex Larsson
Owen Taylor [Mon, 1 Mar 2004 19:40:47 +0000 (19:40 +0000)]
Based on patch by Alex Larsson

Mon Mar  1 14:16:52 2004  Owen Taylor  <otaylor@redhat.com>

        Based on patch by Alex Larsson

        * gtk/gtkfilechooserdefault.c: Use gtk-file-chooser-backend
        GtkSetting to set the backend if the app doesn't specify one.

        * gdk/x11/gdkevents-x11.c gtk/gtksettings.c:
        Add Gtk/FileChooserBackend.

22 years ago- exit with $? instead of 1 in case of failure - exit with $? if
Tim Janik [Mon, 1 Mar 2004 19:33:59 +0000 (19:33 +0000)]
- exit with $? instead of 1 in case of failure - exit with $? if

Mon Mar  1 20:32:06 2004  Tim Janik  <timj@gtk.org>

        * autogen.sh:
        - exit with $? instead of 1 in case of failure
        - exit with $? if ./configure failed
          (that's so autogen.sh && make lines work)
        - removed --enable-gtk-doc option
        - added $AUTOGEN_CONFIGURE_ARGS

22 years ago- exit with $? instead of 1 in case of failure
Tim Janik [Mon, 1 Mar 2004 18:29:15 +0000 (18:29 +0000)]
- exit with $? instead of 1 in case of failure
- exit with $? if ./configure failed
  (that's so autogen.sh && make lines work)
- removed --enable-gtk-doc option
- added $AUTOGEN_CONFIGURE_ARGS

22 years agoTest for filter_info.uri correctly. Fixes #135379, pointed out by Damon
Federico Mena Quintero [Mon, 1 Mar 2004 18:24:06 +0000 (18:24 +0000)]
Test for filter_info.uri correctly. Fixes #135379, pointed out by Damon

2004-03-01  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (list_model_filter_func): Test for
filter_info.uri correctly.  Fixes #135379, pointed out by Damon
Chaplin.
(shortcuts_get_index): Compute the bookmarks index correctly.
Fixes #135714, pointed out by Damon Chaplin.
(gtk_file_chooser_default_list_shortcut_folders): Handle the case
with no shortcuts, and don't run off the end of the list if there
are no bookmarks and their separator.  Fixes #135572, patch by
Damon Chaplin.

22 years agoHandle dynamically resolved bidi direction when drawing the cursor.
Owen Taylor [Mon, 1 Mar 2004 18:10:40 +0000 (18:10 +0000)]
Handle dynamically resolved bidi direction when drawing the cursor.

Mon Mar  1 12:23:06 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtklabel.c: Handle dynamically resolved bidi direction
        when drawing the cursor. (#118541)

        * gtk/gtkentry.c (get_better_cursor_x): Use entry->resolved_dir;

        * gtk/gtkentry.c (draw_insertion_cursor): Fix up
        some confusion in parameter ordering.

22 years agoHandle shrinking/growing.
Jonathan Blandford [Mon, 1 Mar 2004 17:08:19 +0000 (17:08 +0000)]
Handle shrinking/growing.

Mon Mar  1 12:05:54 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserdialog.c
        (file_chooser_widget_resizable_hints_changed): Handle
        shrinking/growing.

22 years agoremoved underscores from calls to gtk_text_btree_resolve_bidi().
Michael Natterer [Mon, 1 Mar 2004 16:25:45 +0000 (16:25 +0000)]
removed underscores from calls to gtk_text_btree_resolve_bidi().

2004-03-01  Michael Natterer  <mitch@gimp.org>

* gtk/gtktextbtree.c: removed underscores from calls to
gtk_text_btree_resolve_bidi().

22 years agoPatch from Dov Grobgeld to implement auto-bidi-direction for GtkTextView
Owen Taylor [Mon, 1 Mar 2004 16:07:45 +0000 (16:07 +0000)]
Patch from Dov Grobgeld to implement auto-bidi-direction for GtkTextView

Mon Mar  1 10:41:27 2004  Owen Taylor  <otaylor@redhat.com>

        Patch from Dov Grobgeld to implement auto-bidi-direction
        for GtkTextView (#118543)

        * gtk/gtktextbtree.[ch]: Resolve bidi base direction
        for each line by propagating backwards/forwards as
        necessary.

        * gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the
        bidi base direction for the ;ine with the cursor from
        the keyboard direction. Add gtk_text_layout_set_keyboard_direction().

Mon Mar  1 10:31:11 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.[ch]: Implement auto-bidi-direction,
        based on a patch from Dov Grobgeld. (#118540)

22 years agoImplement auto-bidi-direction, based on a patch from Dov Grobgeld.
Owen Taylor [Mon, 1 Mar 2004 15:40:51 +0000 (15:40 +0000)]
Implement auto-bidi-direction, based on a patch from Dov Grobgeld.

Mon Mar  1 10:31:11 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c: Implement auto-bidi-direction,
        based on a patch from Dov Grobgeld. (#118540)

22 years agoUpdate Czech translation
Miloslav Trmac [Mon, 1 Mar 2004 15:23:10 +0000 (15:23 +0000)]
Update Czech translation

22 years agoUpdated Albanian translation
Laurent Dhima [Mon, 1 Mar 2004 13:28:51 +0000 (13:28 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

22 years agoUpdated
Laurent Dhima [Mon, 1 Mar 2004 13:27:30 +0000 (13:27 +0000)]
Updated

22 years agoUpdated Serbian translations.
Danilo Šegan [Mon, 1 Mar 2004 12:42:34 +0000 (12:42 +0000)]
Updated Serbian translations.

22 years agoUpdated Korean translation.
Changwoo Ryu [Mon, 1 Mar 2004 08:17:22 +0000 (08:17 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

22 years agoUpdated Swedish translation.
Christian Rose [Mon, 1 Mar 2004 07:51:21 +0000 (07:51 +0000)]
Updated Swedish translation.

2004-03-01  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 1 Mar 2004 04:16:54 +0000 (04:16 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

22 years agoAdd gtk_entry_set_alignment() to allow right-aligned entries and a
Owen Taylor [Mon, 1 Mar 2004 03:30:27 +0000 (03:30 +0000)]
Add gtk_entry_set_alignment() to allow right-aligned entries and a

Sun Feb 29 22:01:49 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.[ch]: Add gtk_entry_set_alignment()
        to allow right-aligned entries and a "xalign"
        property. (#59799, patch from Egon Andersen and
        Steffen Gutmann)

        * gtk/gtkmisc.c (gtk_misc_class_init): Use improved
        xalign property description here too.

        * tests/testtext.c: UNDERLINE_ERROR test addition
        from Nicolas Settons' patch.

22 years agoUpdated Serbian translation.
Danilo Šegan [Mon, 1 Mar 2004 02:23:41 +0000 (02:23 +0000)]
Updated Serbian translation.

22 years agoexport gtk_window_activate_key() (Request from Tim Janik)
Owen Taylor [Mon, 1 Mar 2004 01:41:17 +0000 (01:41 +0000)]
export gtk_window_activate_key() (Request from Tim Janik)

Sun Feb 29 20:34:06 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export
        gtk_window_activate_key() (Request from Tim Janik)

22 years agoUpdated Serbian translation.
Danilo Šegan [Mon, 1 Mar 2004 00:32:28 +0000 (00:32 +0000)]
Updated Serbian translation.

22 years agoMake DND operations within a buffer move the dragged text instead of
Matthias Clasen [Mon, 1 Mar 2004 00:01:46 +0000 (00:01 +0000)]
Make DND operations within a buffer move the dragged text instead of

Mon Mar  1 01:00:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.c (gtk_text_view_drag_data_received):
Make DND operations within a buffer move the dragged
text instead of copying it; also make DND operations
a single user action for undo purposes.  (#135191,
#93139, reported by Tommi Komulainen, patch by Paolo
Borelly and Paolo Maggi)

22 years agoews for 2.3.5.
Matthias Clasen [Sun, 29 Feb 2004 23:47:20 +0000 (23:47 +0000)]
ews for 2.3.5.

22 years agoFix the Shift-Tab support to go backwards.
Matthias Clasen [Sun, 29 Feb 2004 22:22:12 +0000 (22:22 +0000)]
Fix the Shift-Tab support to go backwards.

Sun Feb 29 23:25:35 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_completion_key_press):
Fix the Shift-Tab support to go backwards.

22 years agoUpdated French translation.
Christophe Merlet [Sun, 29 Feb 2004 21:44:52 +0000 (21:44 +0000)]
Updated French translation.

22 years agoFix capitalization to match other style properties.
Owen Taylor [Sun, 29 Feb 2004 21:43:14 +0000 (21:43 +0000)]
Fix capitalization to match other style properties.

Sun Feb 29 16:40:40 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_class_init): Fix
        capitalization to match other style properties.

22 years agoFix a typo in property string.
Owen Taylor [Sun, 29 Feb 2004 21:41:23 +0000 (21:41 +0000)]
Fix a typo in property string.

Sun Feb 29 16:38:53 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_class_init): Fix a
        typo in property string.

22 years agoImplement PANGO_UNDERLINE_ERROR (Based on a patch by Nicolas Setton,
Owen Taylor [Sun, 29 Feb 2004 21:39:18 +0000 (21:39 +0000)]
Implement PANGO_UNDERLINE_ERROR (Based on a patch by Nicolas Setton,

Sun Feb 29 16:35:23 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkpango.c gtk/gtktextdisplay.c: Implement
        PANGO_UNDERLINE_ERROR (Based on a patch by
        Nicolas Setton, #114237)

        * gtk/gtktextview.c: Add a error-underline-color style
        property.

22 years agoUpdated Swedish translation.
Christian Rose [Sun, 29 Feb 2004 19:37:28 +0000 (19:37 +0000)]
Updated Swedish translation.

2004-02-29  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoUpdated Italian translation.
Alessio Frusciante [Sun, 29 Feb 2004 18:32:00 +0000 (18:32 +0000)]
Updated Italian translation.

22 years agoNew internal function returning a good step value for the mouse wheel. For
Soeren Sandmann [Sun, 29 Feb 2004 18:21:57 +0000 (18:21 +0000)]
New internal function returning a good step value for the mouse wheel. For

Sun Feb 29 19:04:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkrange.c (_gtk_range_get_wheel_delta): New internal
function returning a good step value for the mouse wheel. For
scrollbars, base the step on page_size^(2/3), for other ranges,
use 2 * step_increment.

* gtk/gtkrange.c (gtk_range_scroll_event): Use it here ...

* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event):
... and here.

* gtk/gtkmenu.c (gtk_menu_leave_notify): Fix a warning.

22 years agoUpdated Arabic translation.
Arafat medini [Sun, 29 Feb 2004 11:30:09 +0000 (11:30 +0000)]
Updated Arabic translation.

2004-02-29  Arafat medini  <lumina@silverpen.de>

* ar.po: Updated Arabic translation.

22 years agoAdd g_return_if_fail() (_gtk_file_chooser_embed_get_resizable_hints): Add
Jonathan Blandford [Sun, 29 Feb 2004 07:55:24 +0000 (07:55 +0000)]
Add g_return_if_fail() (_gtk_file_chooser_embed_get_resizable_hints): Add

Sun Feb 29 01:51:27 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserembed.c
        (_gtk_file_chooser_embed_get_default_size):  Add g_return_if_fail()
        (_gtk_file_chooser_embed_get_resizable_hints): Add g_return_if_fail()

        * gtk/gtkfilechooserdialog.c
        (file_chooser_widget_default_size_changed): Get the correct
        initial size for the dialog.  Also, don't bother with
        gtk_window_set_default_size().  It's not really meaningful.

        * gtk/gtkfilechooserdefault.c
        (gtk_file_chooser_default_get_default_size): Get the correct
        spacing for the preview_widget
        (update_preview_widget_visibility): Clear widget field after we
        destroy it.

22 years agoUpdated zh_CN translation
Funda Wang [Sun, 29 Feb 2004 06:51:34 +0000 (06:51 +0000)]
Updated zh_CN translation

22 years agoHandle GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
Federico Mena Quintero [Sun, 29 Feb 2004 06:35:15 +0000 (06:35 +0000)]
Handle GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.

2004-02-29  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_property): Handle
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
(gtk_file_chooser_default_get_property): Likewise.
(struct _GtkFileChooserDefault): Added fields for preview_label,
use_preview_label, preview_display_name, preview_box.  Removed
preview_frame.
(set_preview_widget): Reorder the widget in relation to the label.
(update_preview_widget_visibility): Create or destroy the preview
label.
(check_preview_change): Update impl->preview_display_name and the
label.
(find_good_size_from_style): Use the preview_box.
(gtk_file_chooser_default_finalize): Free
impl->preview_display_name.
(gtk_file_chooser_default_init): Initialize
impl->use_preview_label.

* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
"use-preview-label" property.
(gtk_file_chooser_set_use_preview_label): New function.  This sets
whether one wants the file chooser to display a stock label with
the previewed filename.  Apps that do really fancy previews can
turn this off and draw the name themselves.
(gtk_file_chooser_get_use_preview_label): New function.
(gtk_file_chooser_get_preview_widget_active): Documentation fix.

* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add a
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL value.

* gtk/gtkfilechooserutils.c
(_gtk_file_chooser_install_properties): Override the
"use-preview-label" property.

22 years agoMake Tab and Shift-Tab work when the completion popup is shown.
Matthias Clasen [Sun, 29 Feb 2004 03:41:42 +0000 (03:41 +0000)]
Make Tab and Shift-Tab work when the completion popup is shown.

Sun Feb 29 04:43:29 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_completion_key_press): Make Tab and
Shift-Tab work when the completion popup is shown.

22 years agoUse "Name" for the title of the filename column. (create_file_list):
Federico Mena Quintero [Sun, 29 Feb 2004 02:59:05 +0000 (02:59 +0000)]
Use "Name" for the title of the filename column. (create_file_list):

2004-02-28  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (create_folder_tree): Use "Name" for
the title of the filename column.
(create_file_list): Likewise.

22 years agoFix Page_Up and Page_Down in the completion popup to move page-wise if
Matthias Clasen [Sun, 29 Feb 2004 02:30:37 +0000 (02:30 +0000)]
Fix Page_Up and Page_Down in the completion popup to move page-wise if

Sun Feb 29 03:31:42 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_completion_key_press): Fix Page_Up
and Page_Down in the completion popup to move page-wise if we're
scrolling.

22 years agoRemoved. (list_name_data_func): Don't call the function above.
Federico Mena Quintero [Sun, 29 Feb 2004 02:16:58 +0000 (02:16 +0000)]
Removed. (list_name_data_func): Don't call the function above.

2004-02-28  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (set_cell_text_bold_if_folder):
Removed.
(list_name_data_func): Don't call the function above.
(list_mtime_data_func): Likewise.

22 years agoNew function which calculates position and size for the popup in list
Matthias Clasen [Sun, 29 Feb 2004 01:33:01 +0000 (01:33 +0000)]
New function which calculates position and size for the popup in list

Sun Feb 29 02:34:35 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_list_position): New
function which calculates position and size for the popup in
list mode. Currently it only pushes the popup horizontally
into the screen.

22 years agoImplement the previous fix in a better way, small cleanups.
Matthias Clasen [Sun, 29 Feb 2004 00:08:04 +0000 (00:08 +0000)]
Implement the previous fix in a better way, small cleanups.

Sun Feb 29 01:10:09 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c: Implement the previous fix in a better way,
small cleanups.

22 years agoapplied patch from J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135641
Hans Breuer [Sat, 28 Feb 2004 23:36:11 +0000 (23:36 +0000)]
applied patch from J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135641

2004-02-28  Hans Breuer  <hans@breuer.org>

* gtk/gtkfilesystemwin32.c : applied patch from
J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135641

22 years agoActually resize the popup window before popping up. (#135651)
Matthias Clasen [Sat, 28 Feb 2004 22:28:37 +0000 (22:28 +0000)]
Actually resize the popup window before popping up. (#135651)

Sat Feb 28 23:30:36 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_popup): Actually resize the
popup window before popping up.  (#135651)

Sat Feb 28 23:29:35 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_class_init):
* gtk/gtkcombobox.c (gtk_combo_box_init): Override the default
handler for style_set in class_init instead of connecting to
the signal in init. (noticed by Yosh).

22 years ago#ifdef HAVE_FLOCKFILE, not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali
Owen Taylor [Sat, 28 Feb 2004 20:00:24 +0000 (20:00 +0000)]
#ifdef HAVE_FLOCKFILE, not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali

Sat Feb 28 14:48:35 2004  Owen Taylor  <otaylor@redhat.com>

        * demos/gtk-demo/main.c (read_line): #ifdef HAVE_FLOCKFILE,
        not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali Harlow)

22 years agoUpdated Finnish translation.
Pauli Virtanen [Sat, 28 Feb 2004 17:56:31 +0000 (17:56 +0000)]
Updated Finnish translation.

2004-02-28  Pauli Virtanen  <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation.

22 years agoadapt to add -> insert_bookmark change. Also merged some crossplatform
Hans Breuer [Sat, 28 Feb 2004 15:09:27 +0000 (15:09 +0000)]
adapt to add -> insert_bookmark change. Also merged some crossplatform

2004-02-28  Hans Breuer  <hans@breuer.org>

* gtk/gtkfilesystemwin32.c : adapt to add -> insert_bookmark
change. Also merged some crossplatform code from
gtkfilesystemunix.c
* gtk/gtk.def : updated externals

* gtk/makefile.msc.in : added gtkfilechooserembed.obj

22 years agoset current_dest_drag to NULL when destroying, fixes bug #120007. Also
Hans Breuer [Sat, 28 Feb 2004 13:21:25 +0000 (13:21 +0000)]
set current_dest_drag to NULL when destroying, fixes bug #120007. Also

2004-02-28  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkdnd-win32.c : set current_dest_drag to NULL
when destroying, fixes bug #120007. Also removed the mirrored
ref counting for deprecated gdk_drag_context_<ref|unref>()
cause it wasn't reliable anymore anyway.

* gdk/win32/gdkdisplay-win32.c : fix typo, which should
have broken the win32 build for everyone not using msvc

* gdk/win32/gdkevents-win32.c : WM_GETMINAMXINFO ensure not to
return negative values for ptMaxTrackSize, it caused snapping
windows to their minimum size

22 years agoinclude <io.h> for lseek() use HAVE_UNISTD_H
Hans Breuer [Sat, 28 Feb 2004 13:17:53 +0000 (13:17 +0000)]
include <io.h> for lseek() use HAVE_UNISTD_H

2004-02-28  Hans Breuer  <hans@breuer.org>

* io-tiff.c : include <io.h> for lseek()
* io-xbm.c : use HAVE_UNISTD_H

22 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sat, 28 Feb 2004 12:29:26 +0000 (12:29 +0000)]
Translation updated by Tino Meinen.

2004-02-28  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

22 years agoremove conflict marker
Jonathan Blandford [Sat, 28 Feb 2004 04:27:23 +0000 (04:27 +0000)]
remove conflict marker

22 years agoSupport switching back to non-gridded mode. (#135169)
Matthias Clasen [Sat, 28 Feb 2004 00:40:00 +0000 (00:40 +0000)]
Support switching back to non-gridded mode. (#135169)

Sat Feb 28 01:39:01 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Support
switching back to non-gridded mode.  (#135169)

Fri Feb 27 22:29:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwidget.c (gtk_widget_can_activate_accel): Add "Since: 2.4".

22 years agoForgotten ChangeLog.
Matthias Clasen [Sat, 28 Feb 2004 00:10:21 +0000 (00:10 +0000)]
Forgotten ChangeLog.

22 years agoInclude migrating-GtkComboBox.sgml.
Matthias Clasen [Sat, 28 Feb 2004 00:09:48 +0000 (00:09 +0000)]
Include migrating-GtkComboBox.sgml.

Sat Feb 28 01:11:53 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk-docs.sgml: Include migrating-GtkComboBox.sgml.

Sat Feb 28 01:11:34 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/Makefile.am (content_files): Add migrating-GtkComboBox.sgml.

Fri Feb 27 22:54:01 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk-docs.sgml: Sort deprecated widgets alphabetically.

22 years agoWhoops. Didn't mean to commit the size change.
Jonathan Blandford [Fri, 27 Feb 2004 23:52:46 +0000 (23:52 +0000)]
Whoops. Didn't mean to commit the size change.

Fri Feb 27 18:52:19 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_style_set):
        Whoops.  Didn't mean to commit the size change.

22 years agoNew private interface to help negotiate the default size of the widget.
Jonathan Blandford [Fri, 27 Feb 2004 23:51:16 +0000 (23:51 +0000)]
New private interface to help negotiate the default size of the widget.

Fri Feb 27 18:46:27 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserembed.h: New private interface to help
        negotiate the default size of the widget.  Still a bit buggy, but
        better than the old behavior.

        * gtk/gtkfilechooserdefault.c: Implement the embed interface.

        * gtk/gtkfilechooserwidget.c: Proxy the embed interface.

        * gtk/gtkfilechooserdialog.c: Use the embed interface.

22 years agoPut explicit <link> elements instead of #Symbol, because the latter
Federico Mena Quintero [Fri, 27 Feb 2004 22:06:40 +0000 (22:06 +0000)]
Put explicit <link> elements instead of #Symbol, because the latter

2004-02-27  Federico Mena Quintero  <federico@ximian.com>

* gtk/migrating-GtkAction.sgml: Put explicit <link> elements
instead of #Symbol, because the latter doesn't get substituted by
gtk-doc outside of template files.  Thanks to Matthias for
pointing this out.

* gtk/migrating-GtkFileChooser.sgml: Likewise.

* gtk/gtk-sections.txt: Removed gtk_file_chooser_{set,get}_folder_mode.

22 years agoAdd some more deprecation notes. Suppress link in example.
Matthias Clasen [Fri, 27 Feb 2004 21:48:00 +0000 (21:48 +0000)]
Add some more deprecation notes. Suppress link in example.

Fri Feb 27 22:51:35 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkoptionmenu.sgml:
* gtk/tmpl/gtkcombo.sgml: Add some more deprecation notes.
* gtk/tmpl/gtkfilechooser.sgml: Suppress link in example.

22 years agoUpdated Thai translation.
Paisa Seeluangsawat [Fri, 27 Feb 2004 21:36:58 +0000 (21:36 +0000)]
Updated Thai translation.

2004-02-27  Paisa Seeluangsawat  <paisa@users.sf.net>

* th.po: Updated Thai translation.

22 years agoAdded a "position" argument.
Federico Mena Quintero [Fri, 27 Feb 2004 20:48:22 +0000 (20:48 +0000)]
Added a "position" argument.

2004-02-27  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystem.c (gtk_file_system_insert_bookmark): Added a
"position" argument.

* gtk/gtkfilesystem.h (GtkFileSystemError): Added value for
GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS.
(struct _GtkFileSystemIface): Added a "position" argument to the
::insert_bookmark() method.

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
Updated; renamed from gtk_file_system_unix_add_bookmark().  Return
an error if the path already exists in the bookmarks list.
(gtk_file_system_unix_remove_bookmark): Return an error if the
path does not exist in the bookmarks list.

* gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
For now, use gtk_file_system_insert_bookmark() with -1 for the
position.  DnD will come next.

22 years agoSimplify, only create a new setup if appearance actually changed.
Matthias Clasen [Fri, 27 Feb 2004 20:41:14 +0000 (20:41 +0000)]
Simplify, only create a new setup if appearance actually changed.

Fri Feb 27 21:42:28 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_relayout):
* gtk/gtkcombobox.c (gtk_combo_box_style_set): Simplify, only
create a new setup if appearance actually changed.
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear):
* gtk/gtkcombobox.c (gtk_combo_box_get_cell_info): Make
these more robust.  (#127623, Damon Chaplin)

22 years agoremove folder-mode property.
Jonathan Blandford [Fri, 27 Feb 2004 20:08:53 +0000 (20:08 +0000)]
remove folder-mode property.

Fri Feb 27 15:06:00 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): remove
        folder-mode property.

        * gtk/gtkfilechooserutils.c
        (_gtk_file_chooser_install_properties): remove FOLDER_MODE property.

22 years agoInform about gtk_file_chooser_set_action().
Federico Mena Quintero [Fri, 27 Feb 2004 19:31:01 +0000 (19:31 +0000)]
Inform about gtk_file_chooser_set_action().

2004-02-27  Federico Mena Quintero  <federico@ximian.com>

* gtk/migrating-GtkFileChooser.sgml: Inform about
gtk_file_chooser_set_action().

22 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Fri, 27 Feb 2004 14:28:40 +0000 (14:28 +0000)]
Updated Spanish translation.

2004-02-27  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

22 years agoTranslation updated.
Priit Laes [Fri, 27 Feb 2004 10:15:18 +0000 (10:15 +0000)]
Translation updated.

2004-02-27  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated.

22 years agoTranslation updated.
Priit Laes [Fri, 27 Feb 2004 09:13:41 +0000 (09:13 +0000)]
Translation updated.

2004-02-27  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated.

22 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Fri, 27 Feb 2004 05:18:48 +0000 (05:18 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

22 years agoAdd function declaration for gtk_combo_box_list_remove_grabs().
Manish Singh [Fri, 27 Feb 2004 01:38:16 +0000 (01:38 +0000)]
Add function declaration for gtk_combo_box_list_remove_grabs().

Thu Feb 26 17:38:40 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcombobox.c: Add function declaration for
        gtk_combo_box_list_remove_grabs().

22 years agoClassifiy Page Up/Down as cursor move, but not Home and End.
Matthias Clasen [Fri, 27 Feb 2004 01:34:11 +0000 (01:34 +0000)]
Classifiy Page Up/Down as cursor move, but not Home and End.

Fri Feb 27 02:33:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
cursor move, but not Home and End.

* gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
jump to the ends of the list, not Home and End - since we're not
scrolling yet, a "page" is always the complete list.  (#127430, Marco
Pesenti Gritti)

Fri Feb 27 00:39:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
* gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
the priv pointers dangle.  (#127623, Damon Chaplin)

22 years agofix ytpo: s/eles/else/
Manish Singh [Fri, 27 Feb 2004 01:31:16 +0000 (01:31 +0000)]
fix ytpo: s/eles/else/

Thu Feb 26 17:31:34 2004  Manish Singh  <yosh@gimp.org>

        * gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/

22 years agoAdd xsettings_client_set_grab_func, Add xsettings_client_set_ungrab_func
Owen Taylor [Fri, 27 Feb 2004 00:56:04 +0000 (00:56 +0000)]
Add xsettings_client_set_grab_func, Add xsettings_client_set_ungrab_func

Thu Feb 26 19:53:32 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/xsettings-common.h (xsettings_client_process_event):
        Add xsettings_client_set_grab_func,
        Add xsettings_client_set_ungrab_func to the list of renames.

22 years agoFix memory leak in case of mismatched property type.
Owen Taylor [Fri, 27 Feb 2004 00:52:45 +0000 (00:52 +0000)]
Fix memory leak in case of mismatched property type.

Thu Feb 26 19:48:39 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/xsettings-client.c (read_settings): Fix memory leak
        in case of mismatched property type.

22 years agoAdd two more folder modes to the enum.
Jonathan Blandford [Thu, 26 Feb 2004 23:35:05 +0000 (23:35 +0000)]
Add two more folder modes to the enum.

Thu Feb 26 18:25:57 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
        modes to the enum.

        * gtk/gtkfilechooser.c (gtk_file_chooser_set_folder_mode): Remove.
        (gtk_file_chooser_get_folder_mode): Remove

22 years agoUpdated Danish translation.
Ole Laursen [Thu, 26 Feb 2004 23:24:54 +0000 (23:24 +0000)]
Updated Danish translation.

2004-02-27  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

22 years agoReturn GDK_FILTER_CONTINUE for unhandled message types.
Owen Taylor [Thu, 26 Feb 2004 22:53:50 +0000 (22:53 +0000)]
Return GDK_FILTER_CONTINUE for unhandled message types.

Thu Feb 26 17:29:04 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Return
        GDK_FILTER_CONTINUE for unhandled message types.

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Allow
        multiple filters for the same event type with the standard
        "GDK_FILTER_CONTINUE == pretend I wasn't here" semantics.

        * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
        Append to the filter list not prepend, since order now matters.

        * gdk/win32/gdkevents-win32.c (gdk_add_client_message_filter):
        Append to the filter list not prepend, since order now matters.

22 years agoUpdated Portuguese translation.
Duarte Loreto [Thu, 26 Feb 2004 22:44:50 +0000 (22:44 +0000)]
Updated Portuguese translation.

2004-02-26  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

22 years agoFixes for #135333, analysed by Damon Chaplin:
Matthias Clasen [Thu, 26 Feb 2004 22:40:12 +0000 (22:40 +0000)]
Fixes for #135333, analysed by Damon Chaplin:

Thu Feb 26 23:39:07 2004  Matthias Clasen  <maclas@gmx.de>

Fixes for #135333, analysed by Damon Chaplin:

* gtk/gtkcombobox.c (gtk_combo_box_list_button_pressed): Don't
grab here.
* gtk/gtkcombobox.c (gtk_combo_box_popup): Do the grabs here,
so that we don't forget to grab when the menu is popped via
keynav.
* gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Don't
ungrab here.
* gtk/gtkcombobox.c (gtk_combo_box_popdown): Do the ungrabs here.

22 years agoRemove conflict indicators
Søren Sandmann Pedersen [Thu, 26 Feb 2004 22:30:56 +0000 (22:30 +0000)]
Remove conflict indicators

22 years agoNew function. Use resize cursors for resize grips. (Bug #129621)
Soeren Sandmann [Thu, 26 Feb 2004 22:29:24 +0000 (22:29 +0000)]
New function. Use resize cursors for resize grips. (Bug #129621)

Thu Feb 26 23:26:00 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkstatusbar.c (set_grip_cursor): New function. Use resize
cursors for resize grips. (Bug #129621)

* gtk/gtktoolbar.c (gtk_toolbar_get_relief_style): Documentation
fix - patch by Torsten Schoenfeld.

* gtk/gtkmenubar.c (gtk_menu_bar_size_request): don't request
space between the items. (Bug #110775)

* gtk/gtkrc.c (_gtk_rc_init): Provide extra horizontal padding
inside menu items that are inside a menu bar. (Bug #110775)

* configure.in (HAVE_XCURSOR): Make XCurosr part of GDK_EXTRA_,
not GDK_PACKAGES, to prevent applications from getting linked to
it (Bug #119804)

* gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Put the vertical
ipadding inside the item. (Bug #61843)

22 years agoReplace gtk_widget_get_mnemonic_widgets() by list_mnemonic_widgets() in
Matthias Clasen [Thu, 26 Feb 2004 21:53:58 +0000 (21:53 +0000)]
Replace gtk_widget_get_mnemonic_widgets() by list_mnemonic_widgets() in

Thu Feb 26 22:56:40 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwidget.c: Replace gtk_widget_get_mnemonic_widgets()
by list_mnemonic_widgets() in doc comments as well.

22 years agoFixes from Torsten Schoenfeld.
Owen Taylor [Thu, 26 Feb 2004 21:43:19 +0000 (21:43 +0000)]
Fixes from Torsten Schoenfeld.

Thu Feb 26 16:36:38 2004  Owen Taylor  <otaylor@redhat.com>

        Fixes from Torsten Schoenfeld.

        * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label):
        Fix name in doc comment.

        * gtk/gtkwidget.h: gtk_widget_list_mnemonic_labels(),
        not get_mnemonic_labels.

22 years agoNew convenience API to construct simple text combos, implemented by Damon
Matthias Clasen [Thu, 26 Feb 2004 21:40:09 +0000 (21:40 +0000)]
New convenience API to construct simple text combos, implemented by Damon

Thu Feb 26 22:20:44 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcomboboxentry.h:
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): New
convenience API to construct simple text combos, implemented by
Damon Chaplin.

* tests/testcombo.c: Use gtk_combo_box_entry_new_text.

22 years agohu Feb 26 15:43:43 2004 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Thu, 26 Feb 2004 20:59:01 +0000 (20:59 +0000)]
hu Feb 26 15:43:43 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality
        in a simplified form as gtk_draw_insertion_cursor().
        (#99031, request from Alex Larsson)

        * gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c:
        Adapt to new gtk_draw_insertion_cursor().

        * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init)
        gtk/gtkstyle.c (gtk_style_class_init): Add some missed
        Since: 2.4.

        * gtk/gtkiconfactory.c (icon_size_settings_changed)
          gtk/gtkicontheme.c (do_theme_change)
          gtk/gtkrc.c (_gtk_rc_context_get_default_font_name)
        * gtk/gtksettings.c (gtk_settings_notify):
        _gtk_rc_reset_styles => gtk_rc_reset_styles.

22 years agoExport insertion cursor drawing functionality in a simplified form as
Owen Taylor [Thu, 26 Feb 2004 20:56:11 +0000 (20:56 +0000)]
Export insertion cursor drawing functionality in a simplified form as

Thu Feb 26 15:43:43 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality
        in a simplified form as gtk_draw_insertion_cursor().
        (#99031, request from Alex Larsson)

        * gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c:
        Adapt to new gtk_draw_insertion_cursor().

        * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init)
        gtk/gtkstyle.c (gtk_style_class_init)
        gtk/gtkrc.c (gtk_rc_reset_styles): Add some missed
        Since: 2.4.

22 years agoFix bug reference.
Matthias Clasen [Thu, 26 Feb 2004 20:52:10 +0000 (20:52 +0000)]
Fix bug reference.

22 years agoFixes for #12804 and #134722, Damon Chaplin:
Matthias Clasen [Thu, 26 Feb 2004 20:51:02 +0000 (20:51 +0000)]
Fixes for #12804 and #134722, Damon Chaplin:

Thu Feb 26 21:52:58 2004  Matthias Clasen  <maclas@gmx.de>

Fixes for #12804 and #134722, Damon Chaplin:

* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end):
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
Ref and sink the cell renderers here.

* gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the cell
renderers here, and free attributes and func_data.

22 years agoDoc trivia.
Matthias Clasen [Thu, 26 Feb 2004 20:46:30 +0000 (20:46 +0000)]
Doc trivia.

22 years agoexport gtk_rc_reset_styles
Dom Lachowicz [Thu, 26 Feb 2004 20:25:59 +0000 (20:25 +0000)]
export gtk_rc_reset_styles

22 years agoExport gtk_rc_reset_styles(). (Request from Dom Lachowicz, #123769)
Owen Taylor [Thu, 26 Feb 2004 19:51:00 +0000 (19:51 +0000)]
Export gtk_rc_reset_styles(). (Request from Dom Lachowicz, #123769)

Thu Feb 26 14:47:22 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.[ch]: Export gtk_rc_reset_styles().
        (Request from Dom Lachowicz, #123769)

22 years agoAdd a ::group-changed signal emitted when the radio button/menu item is
Owen Taylor [Thu, 26 Feb 2004 18:58:26 +0000 (18:58 +0000)]
Add a ::group-changed signal emitted when the radio button/menu item is

Wed Feb 25 19:11:31 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkradiobutton.[ch] gtk/gtkradiomenuitem.[ch]: Add a
        ::group-changed signal emitted when the radio button/menu item
        is moved from one group of radio buttons to another.
        (#79563, based partially on a patch from Padraig O'Briain)

22 years agoUse the right free() function. (#135511, George Bronnikov)
Owen Taylor [Thu, 26 Feb 2004 18:28:07 +0000 (18:28 +0000)]
Use the right free() function. (#135511, George Bronnikov)

Thu Feb 26 13:23:47 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-x11.c (set_text_property): Use the right
        free() function. (#135511, George Bronnikov)

22 years agoAdded a comment to inform translators that they must add .po files to both
Federico Mena Quintero [Thu, 26 Feb 2004 16:46:31 +0000 (16:46 +0000)]
Added a comment to inform translators that they must add .po files to both

2004-02-26  Federico Mena Quintero  <federico@ximian.com>

* configure.in: Added a comment to inform translators that they
must add .po files to both po/ and po-properties/ when they add
new languages to ALL_LINGUAS.

22 years agoCommit a missed ChangeLog entry
Owen Taylor [Thu, 26 Feb 2004 15:36:56 +0000 (15:36 +0000)]
Commit a missed ChangeLog entry

22 years agoUpdated German translation.
Christian Neumair [Thu, 26 Feb 2004 15:35:40 +0000 (15:35 +0000)]
Updated German translation.